# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-pyqodeng-core
_pkgname=pyqodeng.core
pkgver=0.0.4
pkgrel=5
pkgdesc='PyQt/PySide Source Code Editor Widget.'
arch=('any')
url='https://pypi.org/project/pyqodeng-core/#files'
depends=('python')
makedepends=('python-setuptools')
license=('MIT')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/pyqodeng.core-$pkgver.tar.gz")
sha512sums=('b75755ed790befa7bb183089736668a057f4c478128e56bd93b1856bf84b2cc5e7f5169dca9b291a2b591152cd66d56bca25bd4252ea77f20d6011cc3715f298')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

